home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cocktail Hour
/
image.iso
/
COCKTAIL.DIR
/
00005_Script_mouseUp for buttons
< prev
next >
Wrap
Text File
|
1997-03-05
|
785b
|
28 lines
on mouseUp
set howList="long,short,shot,hot"
set bPressed=the clickon
set listName=the name of member (the memberNum of sprite bPressed)
set y=the number of chars of listName
if char y of listName="d" then
set listName=char 1 to y-2 of listName
set the memberNum of sprite bPressed=the number of member listName
if howList contains listName then
dissension "howCurr",listname
else
dissension "whenCurr",listname
end if
else
set z=listName&"/d"
set the memberNum of sprite bPressed=the number of member z
set howList="long,short,shot,hot"
if howList contains listName then
unity "howCurr",listname
else
unity "whenCurr",listname
end if
end if
divide
showCurrent
end